package com.java2404.micro.common.dto;

import com.java2404.micro.common.entity.Order;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @User userlq
 * @Date 2025/1/7 10:23
 * @Classname OrderDTO
 * @Description 订单信息DTO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel("订单前端返回类")
public class OrderDTO extends Order {
    @ApiModelProperty(value = "用户名称")
    private String uname;
    @ApiModelProperty(value = "商家名称")
    private String mname;
}
